home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
rjs.lha
/
RJS
/
tests
/
makefile.src
< prev
next >
Wrap
Makefile
|
1991-06-14
|
455b
|
38 lines
#
#
# Makefile
#
CC=CC
YFLAGS = -d
.SUFFIXES: .o .c .y .l .s .C
#
PROG=qtest
#
# C++ rules
#
.C.o:
$(CC) $(CFLAGS) -c $*.C
.C.a:
$(CC) -c $(CFLAGS) $<
ar rv $@ $*.o
rm -f $*.o
#
#
RJSROOT=/u/probe/u1/schemers/src/C++/RJS
RJSDIR=$(RJSROOT)/RJS
LDFLAGS = -L$(RJSDIR)/$(MACHINE) -lRJS
CFLAGS = -I$(RJSROOT) $(LDFLAGS)
#
# start of programs
#
$(MACHINE)/$(PROG) : $(PROG).o $(RLIB)
CC -o $(MACHINE)/$(PROG) $(PROG).o $(CFLAGS)
clean:
rm -f *.o